package com.hzw.saas.common.config.enums;

import lombok.Getter;

public enum ActionEnums {
    ACTION_LOGIN_REQUEST("login_request","登陆请求"),
    ACTION_LOGIN_RESPONSE("login_response","登陆响应"),
    ACTION_FETCH_ONLINE_USERS_LIST_REQUEST("fetch_online_users_list_request","获取在线用户列表请求"),
    ACTION_FETCH_ONLINE_USERS_LIST_RESPONSE("fetch_online_users_list_response","获取在线用户列表响应"),
    ACTION_SEND_MSG_REQUEST("send_msg_request","发送消息的请求"),
    ACTION_SEND_MSG_RESPONSE("send_msg_response","发送消息的响应"),
    ACTION_RECEIVE_MSG_NOTIFY("receive_msg_notify","收到消息的通知"),
    ACTION_RECEIVE_MSG_ACK("receive_msg_ack","接收消息推送确认")
    ;
    @Getter
    private String action;
    @Getter
    private String desc;


    ActionEnums(final String action,final String desc){
        this.action = action;
        this.desc = desc;
    }

}
